package com.xmx.ndmalladmin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 系统验证码
 *
 * @author fbb
 * @email boyinbing@126.com
 * @date 2021-08-11 01:54:37
 */
@Data
@TableName("sys_captcha")
public class CaptchaEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * uuid
	 */
	@ApiModelProperty(value = "uuid")
	@TableId
	private String uuid;
	/**
	 * 验证码
	 */
	@ApiModelProperty(value = "验证码")
	private String code;
	/**
	 * 过期时间
	 */
	@ApiModelProperty(value = "过期时间")
	@JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
	private LocalDateTime expireTime;

}
